package com.zs.diveinspringbootkotlin.condition

import org.springframework.context.annotation.Conditional

/**
 *
 * @description
 * @author madison
 * @date 2021/6/3 22:22
 *
 */
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
@MustBeDocumented
@Conditional(OnSystemPropertyCondition::class)
annotation class ConditionOnSystemProperty(val name: String = "", val value: String = "")